Lab: Designing Microinteractions 

Estimated time: 45 minutes

What you will learn

In this lab, you will learn how to design smooth and engaging microinteractions for basic UI elements such as buttons, toggles, and icons. You'll use Figma's prototyping features and variants to simulate interactive behaviors that respond to user actions like clicks or hovers. This experience will help you build user-friendly designs that communicate feedback, status changes, and enhance the overall UX of a digital product.

Learning objectives

By the end of this lab, you will be able to:

Prerequisites

Note: If this is your first time using Figma, we recommend creating an account. To do this, right-click Getting Started with Figma and open it in a new tab to sign up.

Introduction

Microinteractions are the small, functional animations that bring a user interface to life. From a heart icon that fills when clicked to a button that turns into a spinner while loading, these subtle moments of interaction play a big role in improving user engagement and providing visual feedback. In this lab, you'll explore how to design such microinteractions using Figma, focusing on real-world examples from an online wellness store. You'll learn to use Variants, Prototype links, and Smart Animate transitions to simulate user behavior and elevate the usability of your UI components. By the end of this lab, you'll be able to create and preview interactive elements that feel responsive, intuitive, and polished.

Scenario

Design brief You are working on the design for an e-commerce website selling organic skincare and wellness products. The brand wants to offer a delightful and intuitive experience by adding microinteractions to its product pages. Your task is to design a microinteractive element that simulates real user behavior:

This subtle animation will help users feel in control and receive feedback when they interact with the interface.

Part 1: Getting started

Step 1: Open Figma and create a new file

Part 2: Create a wireframe

In this part, you will create wireframe structure which will include heading, subheading, products display cards with add to cart button, and one icon for favorite product.

Step 1: Create header section First, create the header section by following the given steps:

Step 2: Create product card

Product-3.

Step 3: Create button and favorite icon

Note: After using the Ctrl + D command, if you don't see the duplicated button, it may be hidden beneath the original—try dragging the original button to reveal the duplicate and use it to create a variant.

Part 3: Create microinteractions

In this section, you'll create a microinteraction—for example, selecting the heart icon to add a product to the wishlist, which changes the black heart icon to red to indicate it has been selected.

Final design

The final design can be previewed after clicking the preview button.

Summary

In this lab:

Practice Task

Author(s)

Richa Arora